package com.it.commicity.service.sys;

import com.it.commicity.common.Result;
import com.it.commicity.domain.po.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.it.commicity.domain.requestPass.Password;
import com.it.commicity.domain.vo.SysUserVo;
import com.it.commicity.domain.vo.user.SysUserDto;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author author
 * @since 2025-07-11
 */
public interface ISysUserService extends IService<SysUser> {

    Result<SysUserVo> login(SysUser sysUser);

    SysUserDto queryByUserId(Long userId);

    int updateUserImageByUserId(String userId, String image);

    Result updateUserByUserId(SysUser user);

    Result updateUserPasswordByUserId(Password password);
}
